home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6914 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.1 KB  |  35 lines

  1. Path: news.nevada.edu!not-for-mail
  2. From: kesslert@nevada.edu (Troy Kessler)
  3. Newsgroups: comp.lang.c++
  4. Subject: Need Help With CSC Homework
  5. Date: 16 Feb 1996 02:41:40 GMT
  6. Organization: University of Nevada System Computing Services
  7. Message-ID: <4g0qt4$o0@news.nevada.edu>
  8. NNTP-Posting-Host: unauthenticated_user@pioneer.nevada.edu
  9. X-Newsreader: TIN [UNIX 1.3 950520BETA PL0]
  10.  
  11. Pmain.cpp
  12.  
  13. //*************************************************
  14. //**             ROMAIN.CPP                      **
  15. //*************************************************
  16. //** This program will add, subtract, multiply,  **
  17. //** and divide roman numbers. The numbers are   **
  18. //** assumed to be less than 20 characters long. **
  19. //** The roman numbers should not be inputed in  **
  20. //** subtraction form. Examples - IV=6 IIII=4    **
  21. //*************************************************
  22. #include <iostream.h>  //for cin and cout
  23. #include "p.h"     //has typedef and fuction prototypes
  24. int main(void)         //start main
  25. {
  26. Romantype numberk;      //first roman number
  27. Romantype numbertwo;
  28. Romantype answerr;
  29. cin>>numberk;           //input menu choice
  30. cin>>numbertwo;
  31. numberk+numbertwo;
  32. return 0;
  33. }
  34.  
  35.